package com.jprocms.module.cms.controller.admin.investigateitemop.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.jpro.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 调查问卷条目意见 Excel 导出 Request VO，参数和 InvestigateItemOpPageReqVO 是一致的")
@Data
public class InvestigateItemOpListReqVO {

    @Schema(description = "问卷选项ID", example = "9730")
    private Long investigateItemId;

    @Schema(description = "问卷意见ID", example = "12712")
    private Long investigateOpinionId;

    @Schema(description = "问卷ID", example = "16813")
    private Long investigateId;

    @Schema(description = "回答")
    private String itemAnswer;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
